export const getfg = (data: string): string => {
    let i =0
    return data.split('').reduceRight((pr, c) => {
        if (i!==0&&i % 3 == 0) {
            i++
            return c+ ","+pr
        }
        i++
        return c+pr
    },'')
}